package com.zchat.android.views;

import com.zchat.android.R;

import android.view.View;
import android.widget.TextView;


/**
 * 菜单一所对应的view
 * @author Oliverzhu
 * 2012/6/18
 */
public class ViewThreeLoader extends AbstractViewLoader{
	private ViewThreeLoader() {
	}

	private static ViewThreeLoader instance = new ViewThreeLoader();

	public static ViewThreeLoader getInstance() {
		return instance;
	}

	@Override
	public void loadComponents() {
		v = View.inflate(context, R.layout.menu_view_three, null);
		
		parent.addView(v);
		
		zchat.getCache().put(key, v);
	}

	@Override
	public void loadDatas(View v) {
		TextView tv = (TextView) v.findViewById(R.id.tv);
		
		tv.setText("菜单三对应的view");
	}

}
